package epam.airline.domain;

import java.util.List;

public class Flight {
	private int flightId;
	private String flightName;
	private Crew crew;
	private Plane plane;
	private Airport airport;
	private List<Route> route;

	public Flight(int flightId, String flightName, Crew crew, Plane plane,
			Airport airport, List<Route> route) {
		this.flightId = flightId;
		this.flightName = flightName;
		this.crew = crew;
		this.plane = plane;
		this.airport = airport;
		this.route = route;
	}

	public int getFlightId() {
		return flightId;
	}

	public void setFlightId(int flightId) {
		this.flightId = flightId;
	}

	public String getFlightName() {
		return flightName;
	}

	public void setFlightName(String flightName) {
		this.flightName = flightName;
	}

	public Crew getCrew() {
		return crew;
	}

	public void setCrew(Crew crew) {
		this.crew = crew;
	}

	public Plane getPlane() {
		return plane;
	}

	public void setPlane(Plane plane) {
		this.plane = plane;
	}

	public Airport getAirport() {
		return airport;
	}

	public void setAirport(Airport airport) {
		this.airport = airport;
	}

	public List<Route> getRoute() {
		return route;
	}

	public void setRoute(List<Route> route) {
		this.route = route;
	}

}
